//
//  DashboardDeptController.h
//  APJ HRadar
//
//  Created by Luna Gao on 14-4-15.
//  Copyright (c) 2014年 APJ. All rights reserved.
//A

#import <Foundation/Foundation.h>
#import "SimpleBarChart.h"

@interface DashboardDeptController : NSObject<SimpleBarChartDataSource, SimpleBarChartDelegate, UIGestureRecognizerDelegate>
{
    NSArray *_deptList;
//    NSMutableArray *_tempDeptList;
//    NSMutableArray *_reqSumList;
//    NSMutableArray *_interviewSumList;
//    //OutSanding
//    NSMutableArray *_outstandingSumList;
    //Sa
    NSMutableArray *_saMonthRequirements; //当月总需求
    NSMutableArray *_saMeetRequirements; //已满足需求
    NSMutableArray *_saLegacyRequirements ; //遗留的需求
    
    //AP
    NSMutableArray *_apMonthRequirements; //当月总需求
    NSMutableArray *_apMeetRequirements; //已满足需求
    NSMutableArray *_apLegacyRequirements ; //遗留的需求

    //p
    NSMutableArray *_pMonthRequirements; //当月总需求
    NSMutableArray *_pMeetRequirements; //已满足需求
    NSMutableArray *_pLegacyRequirements ; //遗留的需求

    
    NSDate *_currentMonth;
    
    NSDate *_lastMonth;
    
    NSArray *_barColors;
    SimpleBarChart *_chart;
    NSInteger _currentBarColor;
    UILabel *monthLabel;
}

@property (nonatomic, strong) UIView *view;
@property (nonatomic, retain) UINavigationController *_navigationController;

- (UIView *) getDeptView;
- (void) sentNavigationController:(UINavigationController *)navigationController;
- (void)bindDateForChart;
@end
